# Contributor: Sergiy Stupar <owner@sestolab.pp.ua>
# Maintainer: Sergiy Stupar <owner@sestolab.pp.ua>
pkgname=pick
pkgver=4.0.0
pkgrel=0
pkgdesc="Fuzzy search tool for the command-line"
url="https://github.com/mptre/pick"
arch="all"
license="MIT"
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/mptre/pick/archive/v$pkgver.tar.gz"

build() {
	PREFIX=/usr MANDIR=/usr/share/man ./configure
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
041f6aa13673678b9171a16debfdab11a4ce2d67b03a25677b457148aa642720803028aa6c77d56df9f022ca24f0e25d0c9a40d275ac7c93d03ed13036709fc8  pick-4.0.0.tar.gz
"
